<!DOCTYPE html>
<html>
	<head>
	  	<meta charset="UTF-8">
		<script src="../../public/js/tmpl.js"></script>
		<script>
			var content = template('Phead_resource', {
				title: '预约私教'
			});
			document.write(content);
		</script>
  	</head>
	<body class="wrap_bg">
		
		<section>
			<!--<div class="filter_tab am-g" data-am-sticky>
				<div class="am-u-sm-6 am-text-center border-right-grey filter_tab_area">
					<span class="color-white">杭州全城</span>
					<i class="am-icon-angle-down color-white"></i>
				</div>
				<div class="am-u-sm-6 am-text-center filter_tab_shop">
					<span class="color-white">全部课程</span>
					<i class="am-icon-angle-down color-white"></i>
				</div>
			</div>-->
			<div data-am-widget="tabs" class="am-tabs am-tabs-d2 margin0 color-grey" id="slider_tab">
			    <ul class="am-tabs-nav am-cf" data-am-sticky="{top:0}">
			          
			    </ul>
			    <div class="am-tabs-bd bordernone course_tabs-bd">
			    	
		          	 <div class="am-tab-panel" >
			          	<ul class="am-avg-sm-2 am-thumbnails avg_gridList camp">
						</ul>
			        </div>
			    </div>
			</div>
		
		</section>
		
		<div class="filter_modal" id="filter_modal_area">
			<div class="filter_box bggrey padding10">
				<ul class="filterCity">
				</ul>
				<div class="color-dgrey am-text-center padding-v10">
					<span>更多店铺，敬请期待</span>
				</div>
			</div>
		</div>
		
		<div class="filter_modal" id="filter_modal_shop">
			<div class="filter_box bggrey padding10">
				<ul class="filterShop">
					
				</ul>
			</div>
		</div>
		
		
		<div class="top_tip am-text-sm color-white"></div>
		
		
		<footer class="footer_nav">
			<ul class="am-avg-sm-4">
				<li>
					<a href="../ReservationSite/index.html" class="grey_color am-text-sm">
						<p class="marginb5">
							<img src="../../public/img/icon/field_default@2x.png"></img>
						</p>
						<span>预约场地</span>
					</a>
				</li>
				<li class="">
					<a href="../PrivateEducation/index.html" class="active_color am-text-sm ">
						<p class="marginb5">
							<img src="../../public/img/icon/coach_selected@2x.png"></img>
						</p>
						<span>预约私教</span>
					</a>
				</li>
				<li>
					<a href="../plan/index.html" class="grey_color am-text-sm ">
						<p class="marginb5">
							<img src="../../public/img/icon/plan_default@2x.png"></img>
						</p>
						<span>奇顽计划</span>
					</a>
				</li>
				<li>
					<a href="../personalCenter/index.html" class="grey_color am-text-sm ">
						<p class="marginb5">
							<img src="../../public/img/icon/user_default@2x.png"></img>
						</p>
						<span>个人中心</span>
					</a>
				</li>
			</ul>
		</footer>
		
		
		
		
		
		<script>
			var content = template('progress_status', {});
			document.write(content);
		</script>
		
		<script>
			var content = template('Pfoot_resource', {});
			document.write(content);
		</script>
		
		<!--模板-->
		<!--轮播-->
		<script id="slider" type="text/html">
			{{each slider_data}}
			<li>
		    	<a href="./Inviting_friends.html" class="banner_cover">
		    		<img src="{{$value.bgimg}}" />
					<h1 class="color-white am-text-center am-margin-bottom-xs">{{$value.title}}</h1>
					<p><span class="banner_btn color-white">{{$value.btn_text}}</span></p>
				</a>
		    </li>
		    {{/each}}
		</script>
		
		<!--时间tabbar-->
		<script id="dateOrder" type="text/html">
			{{each datetime}}
			{{if $index==0}}
			<li class="am-active">
				<a href="javascript:void(0)">
					<p class="date">{{$value.d}}</p>
					<p class="week">{{$value.w}}</p>
				</a>
			</li>
			{{else}}
				<li class="">
					<a href="javascript:void(0)">
						<p class="date">{{$value.d}}</p>
						<p class="week">{{$value.w}}</p>
					</a>
				</li>
			{{/if}}
			{{/each}}
			
		</script>
		
		<!--健身馆课程-->
		<script id="gymnasium_course" type="text/html">
			{{each building_list}}
			<li class="cell_first bg0 am-cf">
      			<div class="am-fl">
      				<span class="color-white">{{$value.building_name}}</span>
      			</div>
      			<div class="am-fr">
      				<a href="javascript:void(0);">
      					<!--<span class="color-grey">查看地图&nbsp;</span>-->
      					<i class="am-icon-angle-right am-cion-fw color-grey"></i>
      				</a>
      			</div>
      		</li>
      		{{if $value.course_list.length>0}}
      		
      		{{each $value.course_list}}
      		<li class="cell  {{if $index!=0}}border-top-grey{{/if}}">
      			<a href="./detail.html">
	      			<div class="am-g">
	      				<div class="am-u-sm-2 media_img padding0">
	      					<img class="am-circle" src="{{$value.imgsrc}}" />
	      				</div>
	      				<div class="am-u-sm-10 media_body">
	      					<div href="./curriculum_detail02.html" class="am-u-sm-9">
	      						<p class="color-white am-text-sm">{{$value.name}}</p>
	          					<p class="color-grey">
	          						{{each $value.tags}}
	          						{{if $index==0}}
	          						<span>{{$value}}</span>
	          						{{else}}
	          						<span>·{{$value}}</span>
	          						{{/if}}
	          						{{/each}}
	          					</p>
	          					<p>
	          						<span class="active_color">{{$value.date_time}}</span>
	          						<!--<span class="color-whites">￥{{$value.price}} &nbsp;(超猩卡￥{{$value.discount_price}})</span>-->
	          					</p>
	      					</div>
	      					<div class="am-u-sm-3">
	      						{{if $value.status=='0'}}
	      						<img class="icon_btn" src="../../public/img/icon/yuyue@2x.png" alt="" />
	      						<!--<a class="btn_active" href="../plan/order_info.html">预约</a>-->
	      						{{else }}
	      					
	      						<img class="icon_btn" src="../../public/img/icon/jieshu@2x.png" alt="" />
	      						<!--<a class="btn_active" href="../plan/order_wait.html">等候</a>-->
	      						{{/if}}
	      					</div>
	      				</div>
	      			</div>
      			</a>
      		</li>
			{{/each}} 
			
			{{else}}
			
      		<li class="cell cell_none">
      			<div class="am-g">
      				<div class="am-u-sm-2 media_img padding0">
      					<img class="am-circle" src="../../public/img/shop/buildbody_img003.jpg" />
      					<p><span >···</span></p>
      				</div>
      				<div class="am-u-sm-10 media_body">
      					<span class="color-grey am-text-sm">{{$value.tip_text}}</span>
      				</div>
      			</div>
      		</li>
			{{/if}}        		
			
			{{/each}} 	
		</script>
		
		<!--CAMP-->
		<script id="camp" type="text/html">
			{{each camp_list}}
			<li class="item">
				<a href="./CAMP_detail.html" class="am-block">
					<img class="am-thumbnail" src="{{$value.imgsrc}}" />
					<p class="bg0 am-text-center color-white">{{$value.describe}}</p>
				</a>
			</li>
			{{/each}}
		</script>
		
		
		<!--全部滚动数据-->
		<script id="course_tabs-bd" type="text/html">
			{{each buildding_courseList}}
			<div class="am-tab-panel am-active">
	          	<ul class="list bgs0">
	          		{{include 'gymnasium_course' $value}}
	          	</ul>
	        </div>
			{{/each}}
		</script>
		
		<!--城市赛选-->
		<script id="cityFilter" type="text/html">
			{{each filterCity}}
				{{if $index==0}}
				<li>
					<div class="title padding-v10">
						<hr />
						<b class="bggrey am-text-sm color-dgrey">{{$value.cityName}}</b>
					</div>
					<ul class="btn_group am-avg-sm-3">
						{{each $value.areaList}}
						{{if $index==0}}
						<li>
							<button class="am-btn am-btn-default active">{{$value.areaName}}</button>
						</li>
						{{else}}
						<li>
							<button class="am-btn am-btn-default">{{$value.areaName}}</button>
						</li>
						{{/if}}
						{{/each}}
					</ul>
				</li>
				{{else}}
				<li>
					<div class="title padding-v10">
						<hr />
						<b class="bggrey am-text-sm color-dgrey">{{$value.cityName}}</b>
					</div>
					<ul class="btn_group am-avg-sm-3">
						{{each $value.areaList}}
						<li>
							<button class="am-btn am-btn-default">{{$value.areaName}}</button>
						</li>
						{{/each}}
					</ul>
				</li>
				{{/if}}
			{{/each}}
		</script>
		
		<!--店铺赛选-->
		<script id="shopFilter" type="text/html">
			<li>
				<div class="title padding-v10">
					<hr />
					<b class="bggrey am-text-sm color-dgrey">{{filterShop.cityName}}-店铺主题</b>
				</div>
				<ul class="btn_group am-avg-sm-3">
					{{each filterShop.shopTypeList}}
						{{if $index==0}}
						<li>
							<button class="am-btn am-btn-default active">全部店铺</button>
						</li>
						{{else}}
						<li>
							<button class="am-btn am-btn-default">{{$value.shopTypeName}}</button>
						</li>
						{{/if}}
					{{/each}}
				</ul>
			</li>
		</script>
		
		<script>
		 	(function($,arttmpl){
		 		var slider_data = [
					{bgimg:'../../public/img/shop/banner_bg.jpg',title:'邀请好友一起健身',btn_text:'点击立即分享'},
					{bgimg:'../../public/img/shop/banner_bg.jpg',title:'邀请好友一起健身',btn_text:'点击立即分享'}
				];
		 		
		 		var buildding_courseList = [
		 			{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
			 		{
				 		building_list:[
				 			{
				 				building_name:'杭州定安路健身馆',
				 				tip_text:'猩猩排课中(每周五22:30发布)',
				 				course_list:[
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'0'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'1'
				 					},
				 					{
				 						imgsrc:'../../public/img/shop/buildbody_img003.jpg',
				 						name:'bodyattack有氧挑战',
				 						tags:['Les','燃脂','有氧'],
				 						date_time:'07:20-008:20',
				 						price:'69',
				 						discount_price:'68.55',
				 						status:'2'
				 					}
				 				]
				 			},
				 		]
			 		},
		 		];
		 		
		 		var camp_list = [
		 			{
		 				imgsrc:'../../public/img/curriculum/buildbody004.jpg',
		 				describe:'脂肪终结者kit'
		 			},
		 			{
		 				imgsrc:'../../public/img/curriculum/buildbody003.jpg',
		 				describe:'小班入门私教'
		 			},
		 			{
		 				imgsrc:'../../public/img/curriculum/buildbody001.jpg',
		 				describe:'脂肪终结者kit'
		 			},
		 			{
		 				imgsrc:'../../public/img/curriculum/buildbody002.jpg',
		 				describe:'BODYPUMP入门班'
		 			},
		 			{
		 				imgsrc:'../../public/img/curriculum/buildbody004.jpg',
		 				describe:'脂肪终结者kit'
		 			}
		 		];
		 		
		 		var filterCity =[
				{
					cityName:'上海',
					areaList:[
						{areaId:0,areaName:'上海全区'},
						{areaId:1,areaName:'徐汇区'},
						{areaId:2,areaName:'普陀区'},
						{areaId:3,areaName:'静安区'},
					]
				},
				{
					cityName:'杭州',
					areaList:[
						{areaId:0,areaName:'杭州全区'},
						{areaId:1,areaName:'徐汇区'},
						{areaId:2,areaName:'普陀区'},
						{areaId:3,areaName:'静安区'},
					]
				},
				{
					cityName:'深圳',
					areaList:[
						{areaId:0,areaName:'深圳全区'},
						{areaId:1,areaName:'徐汇区'},
						{areaId:2,areaName:'普陀区'},
						{areaId:3,areaName:'静安区'},
					]
				}
			];
				
				var filterShop ={
					cityName:'上海市全城市',
					shopTypeList:[
						{shopTypeId:0,shopTypeName:'全部店铺'},
						{shopTypeId:1,shopTypeName:'全能店'},
						{shopTypeId:2,shopTypeName:'普陀区'},
						{shopTypeId:3,shopTypeName:'静安区'}
					]
				};
				
				


//		 		var drawGymnasiumCourse = function(data){
//		 			var d = {
//		 				building_list:data
//		 			};
//		 			
//		 			var content = arttmpl('gymnasium_course', d);
//		 			$('.gymnasium_course').html(content);
//		 		}
		 		
		 		
		 		/*绘制轮播图*/
				var drawSlider = function(data){
					var d = {
						slider_data:data
					}
					
					var content = arttmpl('slider', d);
					$('.slider').html(content);
					
				}
		 		
		 		
		 		/*绘制时间列表*/
		 		var drawdateOrder = function(){
		 			var o = current('.');
		 			
		 			var d = {
		 				datetime : o
		 			}
		 			
		 			var content = arttmpl('dateOrder', d);
		 			
		 			var tabbar = $('.am-tabs-nav');
					tabbar.html(content); 
		 			
		 			
		 			
		 			var $nav_items = tabbar.find('li');
					var $tabsBox = $('#slider_tab .am-tabs-bd');
					var boxW = $('#slider_tab .am-tabs-bd').width();
					var currentIndex = 0;
					
					$nav_items.click(function(){
						currentIndex = $nav_items.index($(this));
						tabbar.find('li.am-active').removeClass('am-active');
						$(this).addClass('am-active');
						$tabsBox.children('.am-active').removeClass('am-active');
						$tabsBox.children().eq(currentIndex).addClass('am-active')
					});
		 		}
		 		
		 		
		 		/*绘制训练营*/
		 		var drawCamp = function(data){
		 			var d= {
		 				camp_list:data
		 			}
		 			
		 			var content = arttmpl('camp', d);
		 			$('.camp').html(content);
		 		}
		 		
		 		/*绘制课程*/
		 		var drawCourseTabs = function(data){
		 			var d= {
		 				buildding_courseList:data
		 			}
		 			
		 			var content = arttmpl('course_tabs-bd', d);
		 			$('.course_tabs-bd').prepend(content);
		 			
		 		}
		 		
		 		/*绘制城市赛选*/
				var drawCity_filter = function(data){
					var filterCity_data = {
						filterCity:data
					}
					
					var content = arttmpl("cityFilter", filterCity_data);
					$(".filterCity").html(content);
					
					
					var btns = $(".filterCity").find('.am-btn');
					btns.click(function(){
						var btnText = $(this).text();
						var tit = $(this).closest('.btn_group').prev('.title').text();
						
						$('.filter_tab_area span').text(tit+btnText);
						
						btns.removeClass('active');
						$(this).addClass('active');
						
					})
					
				}
				
				/*绘制店铺类型赛选*/
				var drawShop_filter = function(data){
					/*处理数据*/
					var filterShop_data = {
						filterShop:data
					}
					
					/*绘制html*/
					var content = arttmpl("shopFilter", filterShop_data);
					$(".filterShop").html(content);
					
					/*绑定事件*/
					var btns = $(".filterShop").find('.am-btn');
					btns.click(function(){
						var btnText = $(this).text();
						
						$('.filter_tab_shop span').text(btnText);
						
						
						btns.removeClass('active');
						$(this).addClass('active');
					})
				}
			
			
				
				var sucessCallback_Slider = function(res){
					drawSlider(res);
				}
				
				var sucessCallback_Camp = function(res){
					drawCamp(res);
				}
				
				var sucessCallback_CourseTabs = function(res){
					drawCourseTabs(res);
				}
				
				var sucessCallback_cityFilter = function(res){
					drawCity_filter(res);
				}
				
				var sucessCallback_shopFilter = function(res){
					drawShop_filter(res);
				}
				
				
				var errorcallback = function(statuscode, statusmsg) {
					console.log(statuscode + "  " + statusmsg);
				};
					
				var faildcallback = function(xhr, errtype, errthow) {
					console.log(xhr.readyState + "  " + xhr.status + "  " + xhr.statusText);
				};
	
				
				
				
				var GetSlider_data = function(op, sucessCallback, errorcallback, faildcallback){
					request('url', 't', 'd', slider_data, sucessCallback, errorcallback, faildcallback);
				}
				
				
				var GetCamp_data = function(op, sucessCallback, errorcallback, faildcallback){
					request('url', 't', 'd', camp_list, sucessCallback, errorcallback, faildcallback);
				}
				
				
				var GetCourseTabs_data = function(op, sucessCallback, errorcallback, faildcallback){
					request('url', 't', 'd', buildding_courseList, sucessCallback, errorcallback, faildcallback);
				}
				
				
				var GetCityFilter_data = function(op, sucessCallback, errorcallback, faildcallback){
					request('url', 't', 'd', filterCity, sucessCallback, errorcallback, faildcallback);
				}
				
				
				var GetShopFilter_data = function(op, sucessCallback, errorcallback, faildcallback){
					request('url', 't', 'd', filterShop, sucessCallback, errorcallback, faildcallback);
				}
				
			
					
				var init = function(){
					
					
					drawdateOrder();
					
					
					GetSlider_data('op', sucessCallback_Slider, errorcallback, faildcallback);
					GetCamp_data('op', sucessCallback_Camp, errorcallback, faildcallback);
					GetCourseTabs_data('op', sucessCallback_CourseTabs, errorcallback, faildcallback);
					GetCityFilter_data('op', sucessCallback_cityFilter, errorcallback, faildcallback);
					GetShopFilter_data('op', sucessCallback_shopFilter, errorcallback, faildcallback);
					var $modal = $('#my-modal-loading');
					$modal.hide();
					
					
					
				}
				
				
				init();
				
				
		 	})(jQuery,template)
			
		</script>
		
	</body>
</html>
